import { __DEV__ } from '@hs-admin/utils'
import { create } from 'zustand'

type State = {
  updateTrack: boolean
}

type Actions = {
  setUpdateTrack: (qty: boolean) => void
}

export const useTypeStore = create<State & Actions>((set) => ({
  updateTrack: false,
  setUpdateTrack: (value: boolean) => set(() => ({ updateTrack: value }))
}))
